package com.ywu.mq.spi.spi;

import com.ywu.common.result.CommonResult;
import com.ywu.mq.spi.dto.YwuKafkaDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @ClassName YwuKafkaSpi
 * @Description TODO
 * @Author GroundDemo
 * @Date 2025/3/28 10:43
 * @Version 1.0
 **/
@FeignClient(value = "YWU-MQ")
public interface YwuKafkaSpi {
    @PostMapping("/ywu/mq/kafka/kafka.topic.app.sub.delete.info.for.spi")
    CommonResult<Object> topicSubDeleteByAppId(@RequestBody YwuKafkaDto ywuKafkaDto);
}
